/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author mAbraha
 */
package com.library.forms;
public class Magazin extends Publication {
    private int issueNumber;
   // private String editorName;

    public Magazin(int issueNumber, String editorName, String title, String date, String pubCompany, int copyN) {
        super(title, date, pubCompany,copyN,editorName);
        this.issueNumber = issueNumber;
        //this.editorName = editorName;
    }

    public int getIssueNumber() {
        return issueNumber;
    }

    public void setIssueNumber(int issueNumber) {
        this.issueNumber = issueNumber;
    }

    

    public void print()
    {
   System.out.println("Megazine Title"+this.getTitle()
           +"Publisher"+this.getPubCompany());
           }
    
}